//
//  NSObject+AvoidCrash.h
//  TTCrash
//
//  Created by 陶建 on 2017/4/11.
//  Copyright © 2017年 taoJ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (Swizzle)

/** 方法交换 */
+ (void)tt_swizzleInstanceMethod:(Class)class originSelector:(SEL)originSelector idealSelector:(SEL)idealSelector;

+ (void)tt_swizzleClassMethod:(Class)class originSelector:(SEL)originSelector idealSelector:(SEL)idealSelector;

@end
